home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL95.LZH / transcript_1108 / text0001.txt < prev    next >
Encoding:
Text File  |  1995-11-26  |  2.4 KB  |  69 lines

  1. Welcome back Laurent,
  2.  
  3. > I'm back from school, and I'll stay here 3 months :-)
  4.  
  5. :-)
  6.  
  7. I guess you've seen from my earlier email that the list is now open for
  8. everyone. Not very many have joined yet, but I think we are about 10 now.
  9.  
  10. > First, I'm still working on Bad mood, I've got a first version working
  11. > in assembler, I'm actually optimising it as much as I can.
  12.  
  13. Could you, please, tell us what kind of speed you've gotten from it?
  14.  
  15. > I'd be interested in the map displaying version, if you could send it to me ?
  16. > (And the c code of course !!)
  17.  
  18. I've been planning to add the wall check (I've got a simple sector height
  19. check working), but I never seem to get it done. The map drawing could be
  20. useful as well as nice looking, though, so I'll send it RSN(TM).
  21.  
  22. > I'm actually optimizing loadseg, and addwall.
  23. > Which functions are taking the most CPU time ?
  24. > I think you did tests about it.
  25.  
  26. Here's the relevant information, copied from an old letter:
  27. -----
  28. I've incorporated some simple statistics collection in DVIEW which gave
  29. some numbers that are interesting for the optimization. The figures are
  30. approximate averages over more than 200 drawings from five different levels.
  31.  
  32. Function    Calls    Internal loops
  33.                        (1)     (2)
  34. Addfloor     150       1100
  35. Addwall       50       1700
  36. Coldraw      600
  37. Rowdraw     1000
  38. Drawnode     200
  39. Drawssector  100        300
  40. Loadseg      150       1600    400
  41.  
  42. Time for
  43. structure setup:   0.28
  44. actual drawing:    0.08
  45. chunky to planar:  0.11
  46. -----
  47.  
  48. As you can see, I did not try to get any timing info for the separate
  49. functions. That would have been very difficult, if at all possible. The
  50. number of calls and loop iterations should be almost as useful, though.
  51. I don't have the code available at the moment so I can't give any more
  52. detailed information on what's going on, but I'll get back on that.
  53.  
  54. > I've moved away the singlestep option, we won't need it in the definitive
  55.  
  56. OK, the C version will have to do for high level debugging for the time being.
  57.  
  58. > version, and now, the maze is correctly displaying.
  59.  
  60. Uh, do you mean that you get none of the old errors?
  61. Have you implemented the 'direct' drawing?
  62.  
  63. -- 
  64.   Chalmers University   | Why are these |  e-mail:   d8klojo@dtek.chalmers.se
  65.      of Technology      |  .signatures  |            rand@cd.chalmers.se
  66.                         | so hard to do |  www/ftp:  rand.thn.htu.se
  67.    Gothenburg, Sweden   |     well?     |            (MGIFv5 and QLem)
  68.  
  69.